//
//  EJSOrderModel.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2018/1/2.
//  Copyright © 2018年 lifayu. All rights reserved.
//

#import "JsonBaseObject.h"
#import "EJSGoodsModel.h"
#import "EJSEvaluateModel.h"
#import "XOShoppingCartModel.h"
@interface EJSOrderModel : JsonBaseObject

CopyStringProperty orderId;
CopyStringProperty sn;
CopyStringProperty totalAmount;
CopyStringProperty totalRebate;
CopyStringProperty totalDiscount;
CopyStringProperty totalCoupon;
CopyStringProperty expressFee;
CopyStringProperty createTime;
CopyStringProperty flag;// - 1 已取消   1待付款 2 已付款 3 已发货 4 已完成 5 已评价 nil为全部
CopyStringProperty totalFee;
CopyStringProperty flagText;
CopyStringProperty refoundFlag;//订单退款状态，1申请退款，2完成退款
CopyStringProperty refoundFlagText;

CopyStringProperty receiveMan;
CopyStringProperty receiveArea;
CopyStringProperty receivePhone;
CopyStringProperty receiveAddress;
CopyStringProperty expressCorpName;
CopyStringProperty expressNo;

CopyStringProperty closeFlag;
CopyStringProperty closeFlagText;

CopyStringProperty payTime;
CopyStringProperty deliveryTime;
CopyStringProperty finishTime;
CopyStringProperty hasComment;
StrongProperty XOShoppingCartModel* shop;
StrongProperty NSArray *comment;
StrongProperty NSArray *goods;

CopyStringProperty paymethodText;
CopyStringProperty transactionId;
// 店铺可选的支付方式集合，1 线下付款 2 货到付款 3 信用卡支付
StrongProperty NSArray *paymentMethod;


@end

@interface EJSOrderGoodsModel : JsonBaseObject

CopyStringProperty spuId;
CopyStringProperty skuId;
CopyStringProperty spuName;
CopyStringProperty cover;
CopyStringProperty specInfo;
CopyStringProperty amount;
CopyStringProperty num;

@end


@interface EJSOrderListModel : JsonBaseObject

CopyStringProperty totalPages;
CopyStringProperty pageLimit;
CopyStringProperty page;
StrongProperty NSArray *list;

@end
